package com.yf.dxapp.module.app.controller.admin.appconfig.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotEmpty;
import lombok.Data;

@Schema(description = "管理后台 - app配置信息新增/修改 Request VO")
@Data
public class AppConfigSaveReqVO {

    @Schema(description = "主键", requiredMode = Schema.RequiredMode.REQUIRED, example = "27570")
    private Long id;

    @Schema(description = "配置名", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotEmpty(message = "配置名不能为空")
    private String name;

    @Schema(description = "配置内容", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotEmpty(message = "配置内容不能为空")
    private String value;

}